package com.nq.service;

import com.nq.common.ServerResponse;
import com.nq.pojo.StPremarketStock;
import com.nq.pojo.vo.StPremarketStockVo;

import java.util.List;

public interface IStPremarketStockService {

    List<StPremarketStock> listByCodeAndMarket(String stockCode, String market);

    ServerResponse getPremarketStock(int pageNum, int pageSize, String stockCode, String market);

    ServerResponse addPremarketStock(String market, String stockCode, String startTime, String endTime,
                                     String beforeStartTime, String beforeEndTime,
                                     String price, String maxPrice, String sellMinPrice, String sellMaxPrice, Integer times);

    ServerResponse deletePremarketStock(String id);

    ServerResponse updatePremarketStock(StPremarketStockVo model);
}
